<@cs.include page="/viewTemplate/input.htm">
	<@cs.extends target="/style">
		<#if ps.css?exists>@import "${ps.css}"</#if>
	</@cs.extends>

	<@cs.extends target="/script">
		function cancelSubmit() {
			document.location="${fn.link(ps.action('search'))}";
		}
	</@cs.extends>

	<@cs.extends target="/div/table+">
	<#--		
		<div id="formContainer<@s.property value="model.id"/>">
		<@s.form id="%{#ps.id}Form" action="${ps.targetAction}" openTemplate="form-ex" template="form-close-ex" validate="true">
		
		<@s.actionerror />
	-->
	</@cs.extends>
	<@cs.extends target="/div/table-">
	<#--
		</@s.form>
		</div>
	-->
	</@cs.extends>
	
	<@cs.extends target="//div//table//tr[position()<=3].">
		<@cs.mark name="inputField">
			<#-- Only show the input parameter -->
			<#list ps.elements as element>
				<#if element.name != 'execute'>
					<@cs.element name="${element.name}"/>
				</#if>
			</#list>
		</@cs.mark>
	</@cs.extends>
	
	<@cs.extends target="inputButton">
		<td class="buttonBar">
			<input type=submit class="button" value="<@s.text name='action.${ps.method}'/>"/>
			<input type=button class="button" value="<@s.text name='action.cancel'/>" onclick="cancelSubmit()"/>
		</td>
	</@cs.extends>
</@cs.include> 

<#include fn.page("tip")> 